package com.caiyouxi.advertise.mapper;

import com.caiyouxi.advertise.model.PageAddressBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PageAddressMapper {
    /**
     * 新增页面
     * */
    Integer add_page_address(PageAddressBean bean);

    /**
     * 新增位置
     * */
    Integer add_address(PageAddressBean bean);

    /**
     * 删除
     * */
    Integer delete_page_address(PageAddressBean bean);

    /**
     * 查询当前id
     * */
    Integer get_current_id();


    /**
     * 查询
     * */
    List<PageAddressBean> get_page_address(PageAddressBean bean);
}
